package ast.terminais;

import org.antlr.runtime.Token;

import ast.Exp_atomica;
import ast.IVisitor;

public class Inteiro extends Terminal{

	public Inteiro(Token payload) {
		super(payload);

	}
	public int getValue() {
		return Integer.parseInt(getText());
	}
	@Override
	public Object accept(IVisitor visitor, Object o) {

		return visitor.visit(this, o);
	}

}
